<%@ page language="java" contentType="text/html; charset=utf-8" pageEncoding="utf-8"%>
<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core"%> 
<%@ taglib uri="/struts-tags" prefix="s" %>
<%
String path = request.getContextPath();
String basePath = request.getScheme()+"://"+request.getServerName()+":"+request.getServerPort()+path+"/";
%>

<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<base href="<%=basePath%>"> 
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
<title>editAssetcatalog</title>
    <%@include file="../header.html" %>
      
<meta http-equiv="pragma" content="no-cache">  
<meta http-equiv="cache-control" content="no-cache">  
<meta http-equiv="expires" content="0">  
<meta http-equiv="keywords" content="keyword1,keyword2,keyword3">  
<meta http-equiv="description" content="This is my page">  
  
</head>
<%String side_bar_page = basePath+"side_bar.jsp"; %>
<body >
    <div >
		<jsp:include page="../side_bar.jsp" flush="true"/> 
		<jsp:include page="../top_bar.jsp" flush="true"/> 

        </div>
<div  style="width:90%; float:right; margin:15px;"> 

<body>  
    <form action="my_pnd_doEdit_success_purchasenoteMain.action" method="post" onSubmit="return Validator.Validate(this,3)">  
        <table width="700" align="center">  
            <caption>编辑采购单详细记录</caption>  
            
            
             <tr height="26px">  
                <td width="150px" align="right">采购单号</td>  
                <td width="350px">                
                    <input type="text"  name="purchasenoteDetail.purchasenoteid.purchasenoteid " value="${purchasenoteDetail.purchasenoteid.purchasenoteid}" readonly="readonly"/> 
                    <input type="hidden" name="param" value="1"/> 
                   
                </td>  
            </tr> 
            
          	<tr height="26px">  
                <td width="150px" align="right">资产名称</td>  
                <td width="350px">                
                    <input type="text"  name="purchasenoteDetail.assetname "  value="${purchasenoteDetail.assetname}"  dataType="Require" msg="输入不能为空"/>  
                </td>  
            </tr> 
            
    		<tr height="26px">  
                <td width="150px" align="right">资产类别</td>  
                <td width="350px">  
                	<input type="text"  name="purchasenoteDetail.assetcatalogid.assetcatalogid " value="${purchasenoteDetail.assetcatalogid.assetcatalogid}"  dataType="Require" msg="输入不能为空"/>             		  	
			<!-- <select name="purchasenoteDetail.assetcatalogid.assetcatalogid">
					   <option value="">
					   </option>
					   <c:forEach var="assetcatalog" items="${assetcatalogs }" >
					   <option value=${assetcatalog.assetcatalogid }>${assetcatalog.assetcatalogname }</option>
					   </c:forEach>
					  </select> --> 
                </td>  
            </tr>  
            
            <tr height="26px">  
                <td width="150px" align="right">上级资产类别</td>  
                <td width="350px">               		  	
                	<input type="text"  name="purchasenoteDetail.superiorassetcatalogid "  value="${purchasenoteDetail.superiorassetcatalogid}"  dataType="Require" msg="输入不能为空"/>  
                </td>  
            </tr>  
        	
        	<tr height="26px">              
                 <td width="150px" align="right">保管人</td>  
                <td width="350px">                
                    <input type="text"  name="purchasenoteDetail.keeperid.userid " value="${purchasenoteDetail.keeperid.userid}"  dataType="Require" msg="输入不能为空"/>  
                </td>  
            </tr>  
        
            
            <tr height="26px">  
                <td width="150px" align="right">单位</td>  
                <td width="350px">                
                    <input type="text"  name="purchasenoteDetail.unit " value="${purchasenoteDetail.unit}"  dataType="Require" msg="输入不能为空"/>  
                </td>  
            </tr> 
            
            <tr height="26px">  
                <td width="150px" align="right">单价</td>  
                <td width="350px">                
                    <input type="text"  name="purchasenoteDetail.unitprice " value="${purchasenoteDetail.unitprice}"  dataType="Require" msg="输入不能为空"/>  
                </td>  
            </tr> 
            
            <tr height="26px">  
                <td width="150px" align="right">数量</td>  
                <td width="350px">                
                    <input type="text"  name="purchasenoteDetail.number " value="${purchasenoteDetail.number}"  dataType="Require" msg="输入不能为空"/>  
                </td>  
            </tr> 
            
            <tr height="26px">  
                <td width="150px" align="right">制造商</td>  
                <td width="350px">                
                    <input type="text"  name="purchasenoteDetail.producer " value="${purchasenoteDetail.producer}" />  
                </td>  
            </tr> 
            
            <tr height="26px">  
                <td width="150px" align="right">供应商</td>  
                <td width="350px">                
                    <input type="text"  name="purchasenoteDetail.supplier " value="${purchasenoteDetail.supplier}" />  
                </td>  
            </tr> 
            
            <tr height="26px">  
                <td width="150px" align="right">备注</td>  
                <td width="350px">                
                    <input type="text"  name="purchasenoteDetail.remark " value="${purchasenoteDetail.remark}"/>  
                </td>  
            </tr> 
            
               <tr height="26px">  
                <td colspan="2"  align="center" width="500">  
                    <input type="submit" value="Save"/>  
                    <input type="button" value="Back" onclick="window.history.back(-1)"/>  
                </td>  
            	</tr>  
            	
             <input type="hidden" name="purchasenoteDetail.purchasenotedetailid" value="${purchasenoteDetail.purchasenotedetailid}"/> 
        </table>  
    </form>  
</body>  
</html>  